﻿//  Copyright (c) 2010 Ray Liang (http://www.dotnetage.com)
//  Dual licensed under the MIT and GPL licenses:
//  http://www.opensource.org/licenses/mit-license.php
//  http://www.gnu.org/licenses/gpl.html

using System.Web.Mvc;
using DNA.Mvc.UI;

namespace DNA.Mvc.Community.Controllers
{
    //[HandlePartialError]
    public partial class ForumController
    {
        [Widget("Stat.", "Display the statistics for community",
            ShowBorder = true,
            ShowHeader = true,
              Category = "Community",
             ImageUrl = "images/stat.png",
             IconUrl = "images/stat_16.png"
            )]
        public ActionResult Statistics()
        {
            ViewData.Model = new ForumStat(this.dbContext); 
            return PartialView();
        }
    }
}